<?php
/**
 * Created by PhpStorm.
 * User: July
 * Date: 2019/3/20
 * Time: 14:32
 */

namespace app\models;


use yii\db\ActiveRecord;

class Msg extends ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'wx_cardmsg';
    }

    public function attributeLabels()
    {
        return [
            'touser' => '接收卡券消息openID',
            'card_id' => '卡券id',
            'send_time' => '发送时间'
        ];

    }

    public static function find()
    {
        return new CouponQuery(get_called_class());
    }


}